package com.pai4j.domain.vo.response;

import lombok.Data;
import lombok.Setter;

/**
 *  上传返回结果
 *
 * @author: CYM-pai
 * @date: 2025/04/27 17:57
 **/
@Data
@Setter
public class UploadResultVO {

    private String url;

    private String name;

    private String type;

    public static UploadResultVO of(String url, String type, String name) {
        UploadResultVO uploadResultVO = new UploadResultVO();
        uploadResultVO.setUrl(url);
        uploadResultVO.setType(type);
        uploadResultVO.setName(name);
        return uploadResultVO;
    }
    
}
